export default class bangumiHome {
  result: bangumiHome;
  recommend_cn: bangumiHome;
  recommend_jp: bangumiHome;
  foot: Array<bangumiHome>;
  cover: string;
  cursor: string;
  desc: string;
  id: number;
  is_new: number;
  link: string;
  ondt: string;
  title: string;
  recommend: Array<bangumiHome>;
  favourites: string;
  is_started: number;
  is_finish: number;
  last_time?: number;
  newest_ep_index: string;
  season_id: number;
  season_status: number;
  watching_count: number;

  get favouritesCount() {
    var d = parseFloat(this.favourites);
    d /= 10000;
    return d >= 1 ? d.toString(1) + "万" : this.favourites;
  }
}